package com.xayy.mgt.service;

import cn.kawins.base.result.CheckResult;
import cn.kawins.mybatis.BaseService;
import com.github.pagehelper.PageInfo;
import com.xayy.mgt.model.FunctionalIndicators;
import com.xayy.mgt.model.dto.NodeInfoDto;
import com.xayy.mgt.model.vo.FunctionalIndicatorVo;

import java.util.List;

public interface FunctionalIndicatorsService extends BaseService<FunctionalIndicators> {

    CheckResult<Object> saveFunctionalIndicators(FunctionalIndicatorVo functionalIndicatorVo);

    CheckResult<Object> updateFunctionalIndicators(FunctionalIndicatorVo functionalIndicatorVo);

    CheckResult<Object> deleteFunctionalIndicators(Long id);

    CheckResult<Object> deleteFunctionalIndicators(List<Long> ids);

    CheckResult<Object> deleteByNodeId(Long id);

    PageInfo<FunctionalIndicators> pageList(NodeInfoDto nodeInfoDto);

    CheckResult<List<FunctionalIndicators>> getFunctionalIndicators(Long nodeId);

    CheckResult<Object> getInfo(Long id);


}
